/**
 * 
 */
package com.xb.concurrent.threadpool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import com.xb.concurrent.hashmap.ReadTask;

/**
 * @author kexue
 *
 */
public class TestConcurrentHashMapDemo {

	public static void main(String[] args) {
		// 自定义的线程池impl.
 		ExecutorService executorService = new ThreadPoolDemo(4);
		
		ReadTask target = new ReadTask(4, executorService);
		Thread thread = new Thread(target);
		thread.start();
	}

}
